package com.bdqn.biz;

import com.bdqn.dao.UserDao;
import com.bdqn.pojo.UserPojo;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.*;
import java.io.IOException;
import java.io.PrintWriter;

@WebServlet(name = "ajax1", value = "/ajax1")
public class ajax1 extends HttpServlet {
    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException {

        String name=request.getParameter("name");
        System.out.println("前台响应的值"+name);
        //后台
        PrintWriter writer=response.getWriter();
        writer.write("bbbbbb");

    }
}
